
load("@nazel//:nazel_build.bzl", "nazel_cc_binary", "nazel_cc_library",  "nazel_cc_test")

package(default_visibility = ["//visibility:public"])


nazel_cc_library(
    name = "controller",
    srcs = [
        "base_type.cc",
        "controller.cc",
        "tcp_client.cc",
        "message_assembler.cc",
        ],
    hdrs = [
        "base_type.h",
        "controller.h",
        "tcp_client.h",
        "message_assembler.h",
        ],
     deps = [
        "//cc/coin2/base",
        "//cc/coin2/base/memory",
        "//cc/coin2/base/tcp",
    ], 
    copts = [
        "-std=c++17",
        "-Wno-unused-parameter",
    ],
    linkopts = [

    ],
)

nazel_cc_test(
   name = "assembler_test",
    srcs = [
        "assembler_test.cc",
    ],
    deps = [
        ":controller",
        "//cc/coin2/base",
        "@coin//cc/third_party:gtest",
        "@coin//cc/third_party:gtest_main",
    ],
)




